package com.yundasys.lab10designpattern.decorator;

/**
 * @author jiangta
 * @version 1.0
 * @date 2021/3/13 1:43 下午
 */
public class CompetitorDecoratorC extends CompetitorDecorator {

    public CompetitorDecoratorC(Competitor competitor) {
        super(competitor);
    }

    @Override
    public void sing() {
        super.sing();
        this.introduceBackground();
    }

    private void introduceBackground() {
        System.out.println("悲惨背景介绍，博取同情，赢感情牌....");
    }
}
